home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games Extra 1996 September
/
Amiga Games Extra CD-ROM 9-1996.iso
/
userbox
/
publicdomain
/
prlink-0.9.5b
/
start.amiga
< prev
next >
Wrap
AmigaDOS Script File
|
1996-07-06
|
2KB
|
63 lines
.key machine,cable/k,device/k
;;;;
;
; I use this script to set up a number of convenient things for
; compiling and using prlink. Edit this file per your own taste.
;
; Usage: start cable pramiga88 machine pet4001 device 9
; or start cable pramigatn machine c64 device 8
.bra {
.ket }
.dollar #
.def machine pet4001
if {machine} EQ pet4001 ; Defaults for my PET
set cable pramiga88
set device 9
endif
if {machine} EQ c64 ; Defaults for my 64
set cable pramiga88
set device 8
endif
setenv PATH .:/bin:/c:/user/pet/bin
addpath user:pet/bin
assign pr: User:pet/prlink/prlink-0.9.5b ; *** You must adapt this ***
addpath pr:bin/amiga
set machine {machine}
set cable {cable#$cable}
set device {device#$device}
setenv PRLINKDIR /pr/bin/
setenv PRLINK_PRRFILE16 c16/prrfile.prg
setenv PRLINK_PRRFILE20 vic20/prrfile.prg
setenv PRLINK_PRRFILE64 c64/prrfile.prg
setenv PRLINK_PRRFILE128 c128/prwfile.prg
setenv PRLINK_PRRFILE201 pet4001/prrfile.prg
setenv PRLINK_PRWFILE16 c16/prwfile.prg
setenv PRLINK_PRWFILE20 vic20/prwfile.prg
setenv PRLINK_PRWFILE64 c64/prwfile.prg
setenv PRLINK_PRWFILE128 c128/prwfile.prg
setenv PRLINK_PRWFILE201 pet4001/prwfile.prg
setenv PRLINK_PRDISK16 c16/prdisk.prg
setenv PRLINK_PRDISK20 vic20/prdisk.prg
setenv PRLINK_PRDISK64 c64/prdisk.prg
setenv PRLINK_PRDISK128 c128/prdisk.prg
setenv PRLINK_PRDISK201 pet4001/prdisk.prg
alias @$0 prmain -c $cable --prrfile -d $device "$0"
alias @$1 prmain -c $cable --prrfile -d $device "$1"
alias @$ prmain -c $cable --prrfile -d $device "$[]"
alias @ prmain -c $cable --prrfile -d $device -s 15 "[]"
alias prload prmain -c $cable --prload
alias prsave prmain -c $cable --prsave
alias prrfile prmain -c $cable --prrfile -d $device
alias prwfile prmain -c $cable --prwfile -d $device
alias prdisk prmain -c $cable --prdisk -d $device
alias xx prmain -c $cable --prsave 033c 0360 xx